package com.fqxiny.lease.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * 公寓标签关联表
 * @TableName apartment_label
 */
@Schema(description = "公寓关联")
@TableName(value ="apartment_label")
@Data
@Builder
public class ApartmentLabel extends BaseEntity {

    @Schema(description = "公寓id")
    @TableField(value = "apartment_id")
    private Long apartmentId;

    @Schema(description = "标签id")
    @TableField(value = "label_id")
    private Long labelId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}